package org.vergil.core.mq.springMq;

/**
 * Created by vergil on 3/4/17.
 */
public class ConsumerListener {

    public String handleMessage(String message) {
        System.out.println("ConsumerListener通过handleMessage接收到一个纯文本消息，消息内容是：" + message);
        return "ConsumerListener通过handleMessage接收到一个纯文本消息，消息内容是：" + message;
    }

    public void receiveMessage(String message) {
        System.out.println("ConsumerListener通过receiveMessage接收到一个纯文本消息，消息内容是：" + message);
    }
}
